package com.ruyuan.user.server.controller.response;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author xx
 */
@Data
public class OrganizationTreeVO implements Serializable {
    private static final long serialVersionUID = -5352367365784056882L;

    private Long orgId;

    private Long parentId;

    private String name;

    private Integer priority;

    private String desc;

    private String orgType;

    /**
     * false代表这个组织不能被删除
     */
    private Boolean canDelete;

    private List<OrganizationTreeVO> children;

}
